Package-level declarations

Types

Link copied to clipboard

Controller exposing the available actions for an active DocumentCleanupCustomUIInternal (or its public wrapper) instance. The instance is provided through onActionControllerCreated and can be used to wire custom UI buttons (undo/redo/reset), to observe undo/redo availability and to retrieve the currently displayed cleanup image.

Link copied to clipboard
class DocumentCleanupViewModel(val config: DocumentCleanupScreenConfiguration, val toolbarBackground: ScanbotColor, val topBarBackground: ScanbotColor, scanSession: IDocumentCleanupViewModel, val documentCleanupFactory: IDocumentCleanupFactory, val backgroundDispatcher: CoroutineContext, val ioDispatcher: CoroutineContext, arguments: Bundle) : ICanGoBack, ICleanupIntroductionAware

Functions

Link copied to clipboard
fun DocumentCleanupCustomUIInternal(viewModel: DocumentCleanupCustomUiViewModel, modifier: <Error class: unknown class> = Modifier, backgroundColor: <Error class: unknown class> = Color.Black, brushSize: <Error class: unknown class> = 40.dp, brushColor: <Error class: unknown class> = Color.Red, maxZoomScale: Float = DocConstants.maxZoomScale, onActionControllerCreated: (DocumentCleanupActionController) -> Unit = {})

Internal composable rendering the mask-drawable cleanup canvas backed by a DocumentCleanup instance produced via documentCleanupProvider.

Link copied to clipboard
fun DocumentCleanupIntroductionDialog(showIntroDialog: <Error class: unknown class><Boolean>, config: DocumentCleanupIntroductionScreenConfiguration, onIntroDialogDismiss: () -> Unit)
Link copied to clipboard
fun DocumentCleanupScreen(modifier: <Error class: unknown class> = Modifier, viewModel: DocumentCleanupViewModel, paddingValues: <Error class: unknown class> = PaddingValues())